package com.ocom.common.request.access;


import com.fasterxml.jackson.annotation.JsonProperty;
import com.ocom.common.entity.access.EntityAttendanceRules;
import com.ocom.common.entity.access.EntityMjGroupInfo;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class AddAttendanceReq extends EntityAttendanceRules {

    @JsonProperty("pId")
    Long pId;

    List<EntityMjGroupInfo> groupList =new ArrayList<>();

    @Override
    public String toString() {
        return "AddAttendanceReq{" +
                "id=" + id +
                ", comId=" + comId +
                ", attendanceType=" + attendanceType +
                ", ruleName='" + ruleName + '\'' +
                ", areaIds='" + areaIds + '\'' +
                ", zoneNo=" + zoneNo +
                ", taskTime='" + taskTime + '\'' +
                ", timeType=" + timeType +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", delay=" + delay +
                ", absence=" + absence +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", pId=" + pId +
                '}';
    }
}
